package day04;

public class ForDemo {
    //for循环结构
    public static void main(String[] args) {
        for(int count = 0; count <5; count ++){
            System.out.println("奥利给！");
        }

        //累加100
        int sum = 0;
        for( int i = 1; i <= 100; i ++ ){
            sum = sum + i;
        }
        System.out.println("sum="+sum);
    }
}
